//
//  RCDGroupBtnsView.h
//  HuaiFuNet
//
//  Created by 任辰东 on 2021/8/14.
//

#import <UIKit/UIKit.h>
#import "RCDBaseLayoutView.h"

NS_ASSUME_NONNULL_BEGIN

@interface RCDGroupBtnsView : RCDBaseLayoutView

@property (nonatomic, strong) UIColor *btnTitleColor;
@property (nonatomic, strong) UIColor *btnBackgroundColor;
@property (nonatomic, strong) UIFont *btnTitleFont;
@property (nonatomic, assign) BOOL isClicked;
@property (nonatomic, copy) void (^didSelectedIndex) (NSInteger index);
/**
 *  @param arr    图片+标题打包的字典数组
 *  @param column 列数
 */
- (instancetype)initWithTitleAndImgsArr:(NSArray *)arr column:(NSInteger)column isAddLine:(BOOL)isAdd;
- (void)configWithTitleAndImgsArr:(NSArray *)arr column:(NSInteger)column isAddLine:(BOOL)isAdd;

@end

NS_ASSUME_NONNULL_END
